import java.util.Date;

/**
 * @author v.zhang
 * @Description
 * @crate 2024/11/26
 *///TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
public class Client {
    public static void main(String[] args) {
       MeetingList meetingList = new MeetingList();

       Employee employee1 = new Employee("Alice");
       Employee employee2 = new Employee("Bob");
       Department department = new Department("Java");

       employee1.registerMeeting(meetingList);
       employee2.registerMeeting(meetingList);
       department.registerMeeting(meetingList);
       department.addEmployee(employee1);
       department.addEmployee(employee2);

       Meeting meeting = new Meeting(new Date(),"project java");
       meetingList.addMeeting(meeting);
    }
}